package user.factory;

import user.service.UserService;

public class UserFactory {
	private static UserFactory instance;
	private UserService user;

	private UserFactory() {
		user = new UserService();
	}

	public static synchronized UserFactory getInstance() {
		if (instance == null) {
			instance = new UserFactory();
		}
		return instance;
	}

	public UserService createUserService() {
		return user;
	}
}